<template>
	<view class="billingInformation">
		<view class="top">
			<view class="input-box">
				<input type="text" value="" placeholder="搜索名字/部门"/>
			</view>
		</view>
		<view class="op">
			<uni-icons color="#7FC9D1" size="22" type="plus" />
			<text style="margin-left: 10rpx;">添加开票信息</text>
		</view>
		<view class="content" v-for="item in contentList" :key="item.index" >
			<view class="company-name">
				<text class="company">{{item.company}}</text>
				<text style="color:#7FC9D1;font-size: 35rpx;">编辑</text>
			</view>
			<view class="company-detail">
				<view  v-for="detail in item.detailList" :key="detail.index" style="padding: 10rpx 0;">
					<view class="detail-title">
						{{detail.title}}
					</view>
					<view class="detail-describe">
						{{detail.describe}}
					</view>
				</view>
			</view>
			<view class="company-op">
				<view class="remark">
					<text style="margin-left: 20rpx;">备注：无</text>
				</view>
				<view class="op-box">
					<text>复制开票信息</text>
					<text>开票二维码</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import uniIcons from '@/components/uni-icons/uni-icons.vue'
	export default {
		components: {
			uniIcons
		},
		data(){
			return{
				contentList:[
					{
						company:'时代邻里股份有限公司',
						detailList:[
							{title:'纳税人识别号',describe:'91440101693584001N'},
							{title:'地址',describe:'广州越秀区'},
							{title:'电话',describe:'无'},
							{title:'开户行',describe:'企业账号'},
							{title:'可见范围',describe:'全员可见'},
						]
					},
					{
						company:'广州翰智软件有限公司',
						detailList:[
							{title:'纳税人识别号',describe:'914401017676820358'},
							{title:'地址',describe:'广州市越秀区先烈中路83号510自编之十二房号'},
							{title:'电话',describe:'020-37605729'},
							{title:'开户行',describe:'广州银行森保支行'},
							{title:'可见范围',describe:'201808712787'},
						]
					}
				]
				
			}
		}
		}
</script>

<style lang="scss" scoped>
	.billingInformation{
		.top{
			background-color: #fff;
			padding: 10rpx;
			.input-box{
				padding: 20rpx;
				border-radius: 60rpx;
				background-color: #F2F3F5;
				margin: 20rpx 10rpx;
			}
		}
		.op{
			background-color: #fff;
			text-align: center;
			color: #7FC9D1;
			padding: 20rpx 0;
			margin-top: 20rpx;
		}
		.content{
			margin-top: 20rpx;
			background-color: #fff;
			.company-name{
				padding: 20rpx;
				border-bottom: 1px solid #F4F4F4;
				.company{
					font-size: 40rpx;
				}
					display: flex;
					justify-content: space-between;
			}
			.company-detail{
				padding: 20rpx;
				.detail-title{
					color: #ccc;
					font-size: 32rpx;
				}
				.detail-describe{
					margin-top: 10rpx;
				}
			
			}
		}
			
		.company-op{
			.remark{
				border-top: 1px solid #F4F4F4;
				border-bottom: 1px solid #F4F4F4;
				padding: 10rpx 0;
				color: #ccc;
			}
			.op-box{
				display: flex;
				flex: 1;
				color: #33B4C5;
				text{
					display: inline-block;
					width: 100%;
					text-align: center;
					padding: 30rpx;
				}
				text:last-child{
					border-left: 1px solid  #F4F4F4;
				}
			}
		}
		
		
	}
</style>
